package com.mall.orders.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.model.domain.OmsOrderReturnApply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author LQJdeDELL
* @description 针对表【oms_order_return_apply(订单退货申请)】的数据库操作Mapper
* @createDate 2023-03-09 22:29:16
* @Entity generator.domain.OmsOrderReturnApply
*/
public interface OmsOrderReturnApplyMapper  {

    List<OmsOrderReturnApply> selectAll(@Param("pageNum") Integer pageNum, @Param("pageSize")Integer pageSize, @Param("status")Integer status,
                                        @Param("createTime")String createTime, @Param("handleMan")String handleMan,
                                        @Param("handleTime")String handleTime, @Param("receiverKeyword")String receiverKeyword);

    Integer count(@Param("pageNum") Integer pageNum, @Param("pageSize")Integer pageSize, @Param("status")Integer status,
                  @Param("createTime")String createTime, @Param("handleMan")String handleMan,
                  @Param("handleTime")String handleTime, @Param("receiverKeyword")String receiverKeyword);

    OmsOrderReturnApply getById(Integer id);

    void updateById(@Param("id") Integer id, @Param("orderReturnApply") OmsOrderReturnApply omsOrderReturnApply);

    void deleteBatchIds(@Param("list") List<Integer> ids);
}




